package cn.getech.data.development.controller.api;

import cn.getech.data.development.api.ProcInfoApi;
import cn.getech.data.development.entity.ProcInfo;
import cn.getech.data.development.service.ProcInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName JobNodeInfoApiController
 * @Description TODO
 * @Author Getech
 * @Date 2020/12/24 11:46
 */
@RestController
public class ProcInfoApiController implements ProcInfoApi {

    @Autowired
    private ProcInfoService procInfoService;

    @Override
    public ProcInfo getById(Integer procId) {
        return procInfoService.getById(procId);
    }
}
